<?php

include_once 'BaseController.php';
include_once 'view/MainView.php';
include_once 'model/UserDAO.php';
include_once 'model/User.php';
include_once 'controller/LoginController.php';

class MainController extends BaseControler {
	
	public function  __construct() {
		
	}	
/*
	public function index($params) {
		$login=$_POST["login"];
		$pass=$_POST["pass"];
		$user=UserDAO::getInstance()->getUser($login);
		
		if ($user===null || $user->getPass()!=$pass) {
			echo "Incorret login or password! Try again, please!";
			include_once 'view/login.html';
		} 				
		else{
			$view=new MainPageView();
			$view->setData($user);		
			$view->render();
		}
	} */
}

?>